package com.kongge.plugin

import org.gradle.api.JavaVersion

object Versions {
    val buildToolsGradleVersion = "4.1.3"
    val appcompat = "1.1.0"
    val coreKtx = "1.3.0"
    val constraintlayout = "1.1.3"
    val kotlinVersion = "1.5.20"
    val kotlinStdlibJdk8 = "1.3.72"
    val recyclerview = "1.0.0"
    val fragment = "1.2.1"
    val rxjava = "2.2.6"
    val rxandroid = "2.1.1"
    val retrofit = "2.4.0"
}

object AndroidX {
    val appcompat = "androidx.appcompat:appcompat:${Versions.appcompat}"
    val coreKtx = "androidx.core:core-ktx:${Versions.coreKtx}"
    val constraintlayout = "androidx.constraintlayout:constraintlayout:${Versions.constraintlayout}"
    val recyclerview = "androidx.recyclerview:recyclerview:${Versions.recyclerview}"
}

object Kotlin {
    val kotlinStdLibJdk8 = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${Versions.kotlinStdlibJdk8}"
}

object Fragment {
    val runtime = "androidx.fragment:fragment:${Versions.fragment}"
    val runtimeKtx = "androidx.fragment:fragment-ktx:${Versions.fragment}"
    val testing = "androidx.fragment:fragment-testing:${Versions.fragment}"
}

object Rxjava2 {
    val rxjava2 = "io.reactivex.rxjava2:rxjava:${Versions.rxjava}"
    val rxandroid = "io.reactivex.rxjava2:rxandroid:${Versions.rxandroid}"
}

object  Retrofit2 {
    val adapterRxJava2 = "com.squareup.retrofit2:adapter-rxjava2:${Versions.retrofit}"
    val converterGson = "com.squareup.retrofit2:converter-gson:${Versions.retrofit}"
}

object CompileOptions {
    val sourceCompatibility = JavaVersion.VERSION_1_8
    val targetCompatibility = JavaVersion.VERSION_1_8
}



